package com.upload.bean.yCoin;


import com.upload.util.JSONUtil;

/**
 * Created by huangying on 2017/3/28.
 */
public class LoginResponseBean {

    private String unionid;

    private String nickname;//昵称

    private String headImgUrl;//头像

    private String role;//角色

    private boolean exist;//是否存在这个人

    private String msg;

    public LoginResponseBean() {
    }

    public LoginResponseBean(String unionid) {
        this.unionid = unionid;
    }

    public String getUnionid() {
        return unionid;
    }

    public void setUnionid(String unionid) {
        this.unionid = unionid;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getHeadImgUrl() {
        return headImgUrl;
    }

    public void setHeadImgUrl(String headImgUrl) {
        this.headImgUrl = headImgUrl;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public boolean isExist() {
        return exist;
    }

    public void setExist(boolean exist) {
        this.exist = exist;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    @Override
    public String toString() {
        return JSONUtil.toJsonStr(this);
    }
}
